<?php
 class FLEA_Exception_MissingArguments extends FLEA_Exception { var $args; function FLEA_Exception_MissingArguments($args) { $this->args = $args; if (is_array($args)) { $args = implode(', ', $args); } $code = 0x0102007; $msg = sprintf(_ET($code), $args); parent::FLEA_Exception($msg, $code); } } 